package com.ruoyi.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出金通道对象 sys_channel_out
 *
 * @author Ericcc
 * @date 2021-02-13
 */
public class SysChannelOut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 渠道id */
    private Long channelOutId;

    /** 渠道编号 */
    @Excel(name = "渠道编号")
    private Integer channelOutCode;

    /** 接口名称(中文名称） */
    @Excel(name = "接口名称(中文名称）")
    private String channelOutName;

    /** 接口状态（0.开启，1.关闭） */
    @Excel(name = "接口状态", readConverterExp = "0=.开启，1.关闭")
    private Integer status;

    /** 通道网关地址 */
    @Excel(name = "通道网关地址")
    private String channelOutGateway;

    /** 通道页面通知地址 */
    @Excel(name = "通道页面通知地址")
    private String channelOutCallbackurl;

    /** 通道回调地址 */
    @Excel(name = "通道回调地址")
    private String channelOutNotifyurl;

    /** 通道appid */
    @Excel(name = "通道appid")
    private String channelOutAppid;

    /** 通道商户秘钥 */
    @Excel(name = "通道商户秘钥")
    private String channelOutKey;

    /** 删除标志（0代表存在 1代表删除） */
    private Integer delFlag;

    public void setChannelOutId(Long channelOutId)
    {
        this.channelOutId = channelOutId;
    }

    public Long getChannelOutId()
    {
        return channelOutId;
    }
    public void setChannelOutCode(Integer channelOutCode)
    {
        this.channelOutCode = channelOutCode;
    }

    public Integer getChannelOutCode()
    {
        return channelOutCode;
    }
    public void setChannelOutName(String channelOutName)
    {
        this.channelOutName = channelOutName;
    }

    public String getChannelOutName()
    {
        return channelOutName;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setChannelOutGateway(String channelOutGateway)
    {
        this.channelOutGateway = channelOutGateway;
    }

    public String getChannelOutGateway()
    {
        return channelOutGateway;
    }
    public void setChannelOutCallbackurl(String channelOutCallbackurl)
    {
        this.channelOutCallbackurl = channelOutCallbackurl;
    }

    public String getChannelOutCallbackurl()
    {
        return channelOutCallbackurl;
    }
    public void setChannelOutNotifyurl(String channelOutNotifyurl)
    {
        this.channelOutNotifyurl = channelOutNotifyurl;
    }

    public String getChannelOutNotifyurl()
    {
        return channelOutNotifyurl;
    }
    public void setChannelOutAppid(String channelOutAppid)
    {
        this.channelOutAppid = channelOutAppid;
    }

    public String getChannelOutAppid()
    {
        return channelOutAppid;
    }
    public void setChannelOutKey(String channelOutKey)
    {
        this.channelOutKey = channelOutKey;
    }

    public String getChannelOutKey()
    {
        return channelOutKey;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("channelOutId", getChannelOutId())
                .append("channelOutCode", getChannelOutCode())
                .append("channelOutName", getChannelOutName())
                .append("status", getStatus())
                .append("channelOutGateway", getChannelOutGateway())
                .append("channelOutCallbackurl", getChannelOutCallbackurl())
                .append("channelOutNotifyurl", getChannelOutNotifyurl())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("channelOutAppid", getChannelOutAppid())
                .append("channelOutKey", getChannelOutKey())
                .append("delFlag", getDelFlag())
                .toString();
    }
}